file(GLOB ORB_EXTRACTOR_FILES ./*.cc)

SET(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/bin)

include_directories(${CMAKE_BINARY_DIR}/include/opencv4)
include_directories(${CMAKE_BINARY_DIR}/include)

link_directories(${CMAKE_BINARY_DIR}/lib)

add_executable(orbExtractor
  ${ORB_EXTRACTOR_FILES}
)
target_link_libraries(orbExtractor
    glog
    gflags
    feature
    opencv_features2d
    boost_filesystem
    opencv_imgcodecs
    opencv_core
    opencv_highgui
)

install(TARGETS orbExtractor)